package webapp;



public enum Tid 
{
	ENTITY,
	ENTITY_VALIDATOR,
	ENTITY_MOCK,
	ENTITY_MERGER,
	ENTITY_DAO,
	ENTITY_DAO_IMPL,
	ENTITY_DAO_TEST,
	ENTITY_DAO_MOCK,
	ENTITY_SEARCH_DTO,
	DTO,
	JSONARRAY,
	
	SERVICE,
	SERVICE_TEST,
	SERVICE_INTF,
	SERVICE_IMPL,
	SERVICE_EXT_RPC,
	SERVICE_EXT_REST,
	SERVICE_JSON_MOCKS,

	//-- backend application ---
	APP_GUICE_MODULE,
	APP_GUICE_BINDER,
	APP_CONFIG_PROVIDERS,
	APP_CONSTANTS,
	APP_BOOTSTRAPPER,
	APP_STARTUP_SERVLET,
	APP_CONFIG,
	APP_CONTEXT,
	APP_TABLES_TOOL,
	APP_EXT_SERVICE_BASE,
	APP_TEST_SERVICE_BASE,
	APP_TEST_DAO_BASE,
	APP_DBS_PROVIDER,
	APP_TEST_STARTUP,
	APP_README,
	APP_PERSISTENCE_XML,
	APP_SERVER,
	APP_JETTY_LAUNCHER,
	APP_JETTY_SERVLETCONFIG,
	
	//-- flex --
	FLEX_ENTITY,
	FLEX_SEARCH_DTO,
	FLEX_DTO,
	FLEX_ENTITY_MOCK,
	FLEX_ENTITY_MODEL,
	FLEX_DETAIL_FORM,
	FLEX_DETAIL_CTRL,
	FLEX_MAINT_CTRL,
	FLEX_MAINT_FORM,
	FLEX_VIEW_STACK,
	FLEX_SEARCH_CTRL,
	FLEX_SEARCH_FORM,
	FLEX_SERVICE,
	FLEX_SERVICE_FACT,
	FLEX_SERVICE_IMPL,
	FLEX_SERVICE_MOCK,
	FLEX_ENUM,
	
	//-- zk --
	ZK_DETAIL_CTRL,
	ZK_DETAIL_VIEW,
	ZK_MAINT_CTRL,
	ZK_MAINT_VIEW,
	ZK_SEARCH_CTRL,
	ZK_SEARCH_FORM,
	ZK_SERVICE_FACT,
	ZK_SERVICE_MOCK,
	ZK_SERVICE_BIND,
	ZK_INDEX_CTRL,
	ZK_SESSION_STATE,
	
	//-- dojo --
	DOJO_ENTITY,
	DOJO_DTO,
	DOJO_ENUM,
	DOJO_ENTITY_DETAIL,
	DOJO_ENTITY_BROWSE,
	DOJO_ENTITY_SEARCH,
	DOJO_ENTITY_CONTROLLER,
	DOJO_SERVICE,
	DOJO_SERVICE_MOCK,
	DOJO_SERVICE_IMPL,
	DOJO_APP_CONSTANTS,
	DOJO_WIDGET_HTML,
	DOJO_WIDGET_JS,
	
	;
	
	
	public static Tid[] getBackendTemplates()
	{
		return new Tid[] {
				ENTITY,
				ENTITY_VALIDATOR,
				ENTITY_MOCK,
				ENTITY_MERGER,
				ENTITY_DAO,
				ENTITY_DAO_IMPL,
				ENTITY_DAO_TEST,
				ENTITY_DAO_MOCK,
				ENTITY_SEARCH_DTO,
				DTO,
				SERVICE,
				SERVICE_TEST,
				SERVICE_INTF,
				SERVICE_IMPL,
				SERVICE_EXT_RPC,
				SERVICE_EXT_REST,

				APP_GUICE_MODULE,
				APP_CONFIG_PROVIDERS,
				APP_CONSTANTS,
				APP_BOOTSTRAPPER,
				APP_STARTUP_SERVLET,
				APP_CONFIG,
				APP_CONTEXT,
				APP_TABLES_TOOL,
				APP_EXT_SERVICE_BASE,
				APP_TEST_SERVICE_BASE,
				APP_TEST_DAO_BASE,
				APP_DBS_PROVIDER,
				APP_README,
				APP_PERSISTENCE_XML,
		};
	}

	public static Tid[] getFlexTemplates()
	{
		return new Tid[] {
				FLEX_ENTITY,
				FLEX_SEARCH_DTO,
				FLEX_DTO,
				FLEX_ENTITY_MOCK,
				FLEX_ENTITY_MODEL,
				FLEX_DETAIL_FORM,
				FLEX_DETAIL_CTRL,
				FLEX_MAINT_CTRL,
				FLEX_MAINT_FORM,
				FLEX_SEARCH_CTRL,
				FLEX_SEARCH_FORM,
				FLEX_SERVICE,
				FLEX_SERVICE_FACT,
				FLEX_SERVICE_IMPL,
				FLEX_SERVICE_MOCK,
				FLEX_ENUM,
		};
	}

	public static Tid[] getZkTemplates()
	{
		return new Tid[] {
				ZK_DETAIL_CTRL,
				ZK_DETAIL_VIEW,
				ZK_MAINT_CTRL,
				ZK_MAINT_VIEW,
				ZK_SEARCH_CTRL,
				ZK_SEARCH_FORM,
				ZK_SERVICE_FACT,
				ZK_SERVICE_MOCK,
				ZK_SERVICE_BIND,
				ZK_INDEX_CTRL,
				ZK_SESSION_STATE,
		};
	}

	public static Tid[] getDojoTemplates()
	{
		return new Tid[] {
				DOJO_ENTITY,
				DOJO_DTO,
				DOJO_ENUM,
				DOJO_ENTITY_DETAIL,
				DOJO_ENTITY_BROWSE,
				DOJO_ENTITY_SEARCH,
				DOJO_ENTITY_CONTROLLER,
				DOJO_SERVICE,
				DOJO_SERVICE_MOCK,
				DOJO_SERVICE_IMPL,
				DOJO_APP_CONSTANTS,
				DOJO_WIDGET_HTML,
				DOJO_WIDGET_JS,
		};
	}
	
}
